home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 25 / AMIGAplus Sonderheft 25 (2000)(Falke)(DE)(Track 1 of 4)[!].iso / Updates / PowerPC / chunkyppc / test_new_68k.c < prev    next >
C/C++ Source or Header  |  2000-05-16  |  254b  |  22 lines

  1. #include <stdio.h>
  2.  
  3. struct test
  4. {
  5.     int a;
  6. };
  7.  
  8. void * __saveds myhook(void *data)
  9. {
  10.  struct test *tester=data;
  11.  fprintf(stderr,"68k: %i\n",tester->a);
  12.  tester->a+=2;
  13.  return (void *)tester;
  14. }
  15.  
  16. extern void mixedmain();
  17.  
  18. void main()
  19. {
  20.     mixedmain();
  21. }
  22.